package com.culture.java.spring.boot.cloud.alibaba.common.web.config;

import com.culture.java.spring.boot.cloud.alibaba.common.web.exception.handler.GlobalExceptionHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig {

    @Bean
    public GlobalExceptionHandler globalExceptionHandler() {
        return new GlobalExceptionHandler();
    }

}
